Programming with ObjVlisp Metaclasses in Smalltalk-80

نویسندگان

  • Jean-Pierre Briot
  • Pierre Cointe
چکیده

A b s t r a c t This paper discusses the introduction of explicit metaclasses à la ObjVlisp into the Smalltalk-80 language. The rigidity of Smalltalk metaclass architecture motivated this work. Consequently we decided to implement the ObjVlisp model into the standard Smalltalk-80 system. The resulting combination defines the Classtalk platform. This platform provides a full-size environment to experiment with class-oriented programming by composing implicit metaclasses à la Smalltalk and explicit metaclasses à la ObjVlisp. Obviously, these experiments are not limited to the Smalltalk world and will be useful to understand and practice the metaclass concept advocated by modern object-oriented languages such as ObjVlisp and CLOS.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The OBJVLISP Model: Definition of a Uniform, Reflexive and Extensible Object Oriented Language

This paper presents the ObjVlisp model designed to experiment and synthesize the expanding activities of the Object Oriented world. The goal is to specify a minimal kernel whose semantic is perfectly uniform, then to modelize other Object semantics by extending this concentrate kernel. We propose a uniication of the metaclass, class and object concepts which allows an optimal uniformity. This u...

متن کامل

A Uniform Model for Object-Oriented Languages Using the Class Abstraction

One of the main goals of object-oriented languages (OOLs) is to unify their universe: \every entity of the language is an object." The class concept, however, usually does not follow this wish: a class being not a real object, i.e., created from a class. The metaclass concept introduced in Smalltalk-80, attempts to give classes a rst class citizenship but complicates the instantiation scheme wi...

متن کامل

Debugging Objects

As the premier object-oriented programming language, Smalltalk should give programmers easy access to objects. However, during debugging it can sometimes be very difficult to get your hands on a particular object. For example, suppose you’re developing a program that stores some objects in an OrderedCollection, but when it tries to retrieve them later, some are missing. You might like to add de...

متن کامل

Uniform and safe metaclass composition

In pure object-oriented languages, classes are objects, instances of other classes called metaclasses. In the same way as classes define the properties of their instances, metaclasses define the properties of classes. It is therefore very natural to wish to reuse class properties, utilizing them amongst several classes. However this introduced metaclass composition problems, i.e., code fragment...

متن کامل

Explicit Metaclasses as a Tool for Improving the Design of Class Libraries

Existing OO methodologies focus on instance behaviors and reduce the role of a class to object creation. In fact, these methodologies do not address the issue of class design itself. Nevertheless, classes have their own properties, which are not related to the semantics of their instances. Examples of such properties are wellknown and language independent : concrete vs abstract classes, single ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1989